<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<body>

<?php
    $con = mysql_connect('sqld.duapp.com:4050','99798a1864d94109b972726aee7c19ee','099ec63576dc40588195c31504b87f63'); //这里修改mysql数据库地址,账号密码
    if (!$con)
    {
        die('Could not connect: ' . mysql_error());
    }
    
    mysql_select_db("DwFDvoUmEyVtdeUVoPBW", $con); //这里修改mysql数据库名
    
    $result = mysql_query("SELECT * FROM json order by created_time DESC LIMIT 20");
    
    while($row = mysql_fetch_array($result))
    {
        echo " ---------------- " . $row['created_time'] . " -------------------- ";
        echo "<br /><br />";
        echo $row['content'];
        echo "<br /><br />";
    }
    
    mysql_query("delete from json where content = '' ");
    mysql_close($con);
?>

</body>
</html>